<?php
namespace Home\Controller;
use Think\Controller;
use Home\Controller\BaseController;
class SnapupController extends BaseController
{
    
    //限时抢购首页
    public function index(){
        $p_xianshi_goods = M('p_xianshi_goods');
        $goods = $p_xianshi_goods->where(array('state'=>1))->select();
        $this->assign('goods',$goods);
        $this->display();
    }
}

